/********************************************************************
	Rhapsody	: 7.5 
	Login		: kbe
	Component	: DefaultComponent 
	Configuration 	: CodeConfig
	Model Element	: PatientEvent
//!	Generated Date	: Wed, 5, Sep 2012  
	File Path	: DefaultComponent\CodeConfig\PatientEvent.cpp
*********************************************************************/

//## auto_generated
#include "PatientEvent.h"
//## auto_generated
#include "EHANDLE.h"
//## auto_generated
#include "Reactor.h"
//## package Default

//## class PatientEvent
PatientEvent::PatientEvent(Reactor * reactor) {
    //#[ operation PatientEvent(Reactor *)
    itsReactor = reactor;
    createHandle();
    //#]
}

PatientEvent::PatientEvent() {
}

PatientEvent::~PatientEvent() {
}

void PatientEvent::handleAlarm(EHANDLE& handle) {
    //#[ operation handleAlarm(EHANDLE)
    //#]
}

void PatientEvent::handleLog(EHANDLE& handle) {
    //#[ operation handleLog(EHANDLE)
    //#]
}

void PatientEvent::handlePatient(EHANDLE& handle) {
    //#[ operation handlePatient(EHANDLE)
    PatientAction();
    //#]
}

void PatientEvent::PatientAction() {
    //#[ operation PatientAction()
    std::cout << "Patient" << std::endl;
    //#]
}

/*********************************************************************
	File Path	: DefaultComponent\CodeConfig\PatientEvent.cpp
*********************************************************************/
